%%%-------------------------------------------------------------------
%%% @author Rain
%%% @copyright (C) 2021, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 17. 12月 2021 10:18
%%%-------------------------------------------------------------------
-module(role_wing).
-author("Rain").

-include("role_wing.hrl").
%% API
-export([get_level_from_wing_info/1, get_socail_from_wing_info/1, get_quality_from_wing_info/1,
    get_strength_from_wing_info/1, get_strength_up_from_wing_info/1, get_strength_add_from_wing_info/1,
    get_perfect_value_from_wing_info/1, get_skills_from_wing_info/1, get_lucky_from_wing_info/1,
    get_power_from_wing_info/1, get_magicdefense_from_wing_info/1, get_rangedefense_from_wing_info/1,
    get_meleedefense_from_wing_info/1, get_hp_from_wing_info/1, get_mp_from_wing_info/1,
    get_echants_from_wing_info/1, get_speed_from_wing_info/1]).


get_level_from_wing_info(Info)->
    #wing_game_info{level=Level}=Info,
    Level.
get_socail_from_wing_info(Info)->
    #wing_game_info{socail=Socail}=Info,
    Socail.
get_quality_from_wing_info(Info)->
    #wing_game_info{quality=Quality}=Info,
    Quality.
get_strength_from_wing_info(Info)->
    #wing_game_info{strength=Strength}=Info,
    Strength.

get_strength_up_from_wing_info(Info)->
    #wing_game_info{streng_up=Strength_up}=Info,
    Strength_up.

get_strength_add_from_wing_info(Info)->
    #wing_game_info{strength_add=Strength_add}=Info,
    Strength_add.
get_perfect_value_from_wing_info(Info)->
    #wing_game_info{perfect_value=Perfect_Value}=Info,
    Perfect_Value.

get_skills_from_wing_info(Info)->
    #wing_game_info{skills=Skill}=Info,
    Skill.
get_lucky_from_wing_info(Info)->
    #wing_game_info{lucky=Lucky}=Info,
    Lucky.
get_power_from_wing_info(Info)->
    #wing_game_info{power=Power}=Info,
    Power.
get_magicdefense_from_wing_info(Info)->
    #wing_game_info{magicdefense=Defense}=Info,
    Defense.
get_rangedefense_from_wing_info(Info)->
    #wing_game_info{rangedefense=Defense}=Info,
    Defense.
get_meleedefense_from_wing_info(Info)->
    #wing_game_info{meleedefense=Defense}=Info,
    Defense.
get_hp_from_wing_info(Info)->
    #wing_game_info{hp=Hp}=Info,
    Hp.
get_mp_from_wing_info(Info)->
    #wing_game_info{mp=Mp}=Info,
    Mp.
get_echants_from_wing_info(Info)->
    #wing_game_info{echants=Echants}=Info,
    Echants.

get_speed_from_wing_info(Info)->
    #wing_game_info{speed=Speed}=Info,
    Speed.
